import BaseService from './_BaseService'

class AccountService extends BaseService {
  root = window.apiPath + '/account/change-password'
  changePassword (currentPassword, newPassword) {
    return super.post(this.root, {currentPassword, newPassword})
  }
}

export default new AccountService()
